/**
 * Copyright (c) 2018 小润科技 All rights reserved.

 * 版权所有，侵权必究！
 */

package com.xr.sy.modules.business.dao;

import com.xr.common.dao.BaseDao;
import com.xr.sy.modules.business.entity.NoticeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 新闻
 */
@Mapper
public interface NoticeDao extends BaseDao<NoticeEntity> {

    List<NoticeEntity> getList(Map<String, Object> params);

    NoticeEntity latest();
}
